﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="SimpleGoogleMaps._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<!--
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License

Name       : SnowCrystals
Description: A two-column, fixed-width design.
Version    : 1.0
Released   : 20070926

-->

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Dgee Software - Simple Maps</title>

<link href="default.css" rel="stylesheet" type="text/css" media="screen" />
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAA8aCimZ2NAjK58X4GlK-VABQDSYXOaxm_1S69evyVxIxaG5Y3nBTJR_px08Hq1YuQBRZCyjRKJl1hZQ"
        type="text/javascript"></script>
<script src="js/PathFinder.js" type="text/javascript"></script>

</head>
<body onload="initialize()" onunload="GUnload()">
    <form id="form1" runat="server">
    <!-- start header -->
<div id="header">
	<h1>
        Simple maps</h1>
	<p>By DGee Software</p>
</div>
<!-- end header -->
<!-- start menu -->
<div id="menu">
	<ul>
		<li><a href="http://www.dgeesoftware.com">Homepage</a></li>
		<li><a href="http://www.dgeesoftware.com/AboutAs.aspx">About Us</a>&nbsp;</li>
		<li><a href="http://www.dgeesoftware.com/Reviews.aspx">reviews</a>&nbsp;</li>
		<li><a href="http://www.dgeesoftware.com/News.aspx">news</a></li>
		<li><a href="http://www.dgeesoftware.com/Contact.aspx">Contact Us</a></li>
	</ul>
</div>
<!-- end menu -->
<!-- start page -->
<div style="clear: both;">
<center>
<table>
            <tr>
                <td align="right" style="padding-bottom: 15px" valign="top">                    
                    <h3><img src="images/img05.gif" alt=""/>From:</h3></td>
                <td style="padding-bottom: 15px" align="left" valign="middle">
                    
                    <input type="text" size="40" id="fromAddress" name="from" style="color: white; border-top-style: none; border-right-style: none; border-left-style: none; background-color: #cba61a; border-bottom-style: none; font-size: 10pt; font-family: Tahoma;" />                    
                    
                    </td>
                    
                <td align="right" style="padding-bottom: 15px" valign="top">
                    <h3><img src="images/img05.gif" alt=""/>To:</h3></td>
                <td align="left" style="padding-bottom: 15px" valign="middle">
                    <input type="text" size="40" id="toAddress" name="to" style="color: white; border-top-style: none; border-right-style: none; border-left-style: none; background-color: #cba61a; border-bottom-style: none; font-size: 10pt; font-family: Tahoma;" />                    
                    
                    </td>
                <td align="right" style="padding-bottom: 15px" valign="middle">
                    <input name="submit" type="button" value="Find Directions" id="Submit1" class="btn" onclick="FindLocation(); return false" style="border-right: #cba61a 1px solid; border-top: #cba61a 1px solid; border-left: #cba61a 1px solid; color: white; border-bottom: #cba61a 1px solid; background-color: #473702" /></td>
            </tr>
            <tr>
                <td align="right" style="padding-bottom: 15px" valign="top">
                </td>
                <td align="left" style="padding-bottom: 15px" valign="top">
                <div id="messagefrom"></div>
                </td>
                <td align="right" style="padding-bottom: 15px" valign="top">
                </td>
                <td align="left" style="padding-bottom: 15px" valign="top">
                <div id="messageto"></div>
                </td>
                <td align="right" style="padding-bottom: 15px" valign="top">
                </td>
            </tr>
            <tr>
                <td align="right" colspan="3" valign="top">
                    <h3><img src="images/img05.gif" alt=""/>Location:</h3>
                </td>
                <td align="left" valign="top">
                    <input type="text" size="40" id="txtFind" name="txtFind" style="color: white; border-top-style: none; border-right-style: none; border-left-style: none; background-color: #cba61a; border-bottom-style: none; font-size: 10pt; font-family: Tahoma;" />
                    <div id="messagefind"></div>
                    
                    </td>
                <td align="center" valign="top"><input name="submit2" type="button" value="Find" id="Submit2" class="btn" onclick="SetLocation(); return false" style="border-right: #cba61a 1px solid; border-top: #cba61a 1px solid; border-left: #cba61a 1px solid; color: white; border-bottom: #cba61a 1px solid; background-color: #473702"/></td>
            </tr>
        </table>
           </center>
           <center>
<table >
        <tr>
            <td style="width: 300px; background-color:#473702;">
                <span style="color: white">
                Directions</span></td>
            <td style="background-color:#473702;">
                <span style="color: white;">
                Map</span></td>
        </tr>
        <tr>
            <td valign="top" align="left">
                <div id="directions" style="width: 275px; height: 600px; overflow: auto">
                </div>
            </td>
            <td valign="top">
                <div id="map_canvas" style="width: 800px; height: 600px">
                </div>
            </td>
        </tr>
</table>
</center> 
</div>
<!-- end page -->
<div id="footer">
	<p>&copy;2007 All Rights Reserved. &nbsp;&bull;&nbsp; Designed by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a></p>
</div>

<div style="font-size: 0.8em; text-align: center; margin-top: 1.0em; margin-bottom: 1.0em;">
Design downloaded from <a href="http://www.freewebtemplates.com/">Free Templates</a> - your source for free web templates
</div>
    </form>
</body>
</html>
